package com.wx.model;

public class Cart {
	private int cartid;
	private int bookid;
	private int staid;
	private int userid;
	private int cartcount;
	private double price;
	public int getCartid() {
		return cartid;
	}
	public void setCartid(int cartid) {
		this.cartid = cartid;
	}
	public int getBookid() {
		return bookid;
	}
	public void setBookid(int bookid) {
		this.bookid = bookid;
	}
	public int getStaid() {
		return staid;
	}
	public void setStaid(int staid) {
		this.staid = staid;
	}
	public int getUserid() {
		return userid;
	}
	public void setUserid(int userid) {
		this.userid = userid;
	}
	public int getCartcount() {
		return cartcount;
	}
	public void setCartcount(int cartcount) {
		this.cartcount = cartcount;
	}
	public double getPrice() {
		return price;
	}
	public void setPrice(double price) {
		this.price = price;
	}
	public Cart() {
		super();
		// TODO Auto-generated constructor stub
	}
	public Cart(int cartid, int bookid, int staid, int userid, int cartcount, double price) {
		super();
		this.cartid = cartid;
		this.bookid = bookid;
		this.staid = staid;
		this.userid = userid;
		this.cartcount = cartcount;
		this.price = price;
	}
	
}
